<%@ page import="com.genghis.ptas.security.entity.User" %>
<%@ page contentType="text/html;charset=UTF-8" isELIgnored="false" %>
<%
    User user = (User)request.getAttribute("user");
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<div class="navbar" style="margin-bottom: 0; background: #ffeeee;">
    <div style="padding: 0 20px; height:90px; ">
        <div class="container" style="width: auto;">
            <img src="<%=basePath%>img/logo/logo.png"  />
            <ul class="nav pull-right" style="margin-top: 60px;color: #000;">
                <li>
                    <label>English</label>
                </li>
                <li>
                    <a id="drop0" role="button" style="padding: 0;text-shadow: none;color: #000;" onclick="location.href='login'">&nbsp;登录</a>
                </li>
                <li>
                    <a id="drop1" role="button" style="padding: 0;text-shadow: none;color: #000;" onclick="register()">&nbsp;注册</a>
                </li>
            </ul>
        </div>
    </div>
</div>
<script type="text/javascript">
    function register() {
        $("#contentFrame")[0].contentWindow.document.write("");
        $("#contentFrame").attr("src", basePath + "tourist/registerDo");
        $('#dataEdit').dialog({
            title: '注册',
            height: 400,
            width: 600
        })
        $('#dataEdit').dialog('open');
    }

</script>